<script>
        $(document).ready(function(){
            $("#paginator a").click(function(){
                var url = $(this).attr("href");     
                var formData = {ajax:"yes",submit:true};
                $.ajax({
                    type: "POST",
                    url: url,
                    data: formData,
                    async: true,
                    beforeSend: function(){
                        $("#content").html("");
                    },
                    success: function(kq){
                        $("#content").html(kq);
                    }
                })
                return false;
            });     
        })
</script>
<div id="content">
    <ul id="items" class="style1 row">
        {list_products}
        <li class="col-lg-3 col-md-3 col-sm-3">
        <dd class="infor">Mẫu mới</dd>
        <figure>
            <img src="{image}" alt="" class="img-responsive">
            <figcaption>
                <h3>{title}</h3>
                <hr>
                <span>thiết kế bởi <a href="">{designer}</a></span>
                <a href="{product_link}"><button class="ghost-btn">Xem chi tiết</button></a>
            </figcaption>
        </figure> 
        </li> 
        {/list_products}                   
    </ul>
    <div id="paginator" class="row">
    {pagination}
    </div><!--#paginator -->
</div>